package com.wyq.group12.service.impl;

import com.wyq.group12.entity.PtUserEntity;
import com.wyq.group12.entity.SearchUserEntity;

import com.wyq.group12.mapper.UserInfoMapper;
import com.wyq.group12.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName UserServiceImpl
 * @Description: //TODO 用户信息业务逻辑实现
 * @Author wyq
 * @Date 2022/5/11 15:52
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Resource
    private UserInfoMapper userInfoMapper;
    @Override
    public List<PtUserEntity> queryUserListByName(SearchUserEntity search) {
        return userInfoMapper.queryUserInfoList(search);
    }
}

